Hybris UX Api icon

Hybris UX Api

(0 reviews)

POST billingAccount

POST (TMF-666)

FOR PR MARKET

This operation allows billing account creation in the BSS system. The current implementation is for Fixed PR customers. Billing Account will be created in CSG.

URL

http://[localhost]:[port]/ecom-ux/v1/{businessId}/billingAccount

Common Parameters

Base URI parameters and headers are common to all the resources as part of account management Biz API, listed below with details.

For PR

https://esb-dev.lla.com/ecom-ux/v1/PR/billingAccount

Base URI Parameter

NameTypeM/ODescription
businessIdstringMBusiness unit identifier. Example: “JM”,“PA”,“PR”,“CR”

Headers

namevaluedescriptionrequired
Correlation-IDstringThis is a unique identifier for the current call chain that can be used to tie together log entries on multiple layers.
Example: 644e1dd7-2a7f-18fb-b8ed-ed78c3F92c2b
O
channeIdstringChannel to business:
Expected Value: "ECOM"
Note ChannelId default value:ECOM
M
lobStringEnum: PREPAID, POSTPAID,FIXEDO

Security Headers

namevaluedescriptionrequired
client-idstringClient Id value for Client Id Enforcement policy. Environment Specific Value.
Eg:6f0ed16a7b494d76b2d60e05bc3b3332
M
client-secretstringClient secret value for Client Id Enforcement policy. Environment Specific Value
Eg: e4CD4D43449846aA9D8Cb9c43fAd324a
M

Key Points to be considered:

  1. Location ID (Customer House ID) is always linked with Customer Billing Account in CSG. One Location can have only one billing account.

Sample Request for PR

{
    "@type": "BillingAccount",
    "name": "Home account",
    "relatedParty": [
        {
            "id": "1901503564351",
            "role": "Customer",
            "@referredType": "Individual"
        }
    ],
    "characteristic": [
        {

            "value": "00917192000912",
            "name": "locationId"
        },

{
           "value": "fixed",
           "name": "lob"
}
    ]

}

HTTP Status response is 200

Sample Response for PR

{
    "id": "8211990010046662",
    "@type": "BillingAccount",
    "relatedParty": [
        {
            "id": "1901504262484",
            "name": "HomeAccount",
            "role": "Customer",
            "@referredType": "Individual"
        }
    ],
    "characteristic": [
        {
            "valueType": "string",
            "value": "00917192000912",
            "name": "locationId"
        }
    ]
}

Reviews